package server.layer;

import java.sql.SQLException;

/**
 * Created by IntelliJ IDEA.
 * User: Awake
 * Date: 22.04.12
 * Time: 18:50
 * To change this template use File | Settings | File Templates.
 */
public interface iPersonDao {

    public Person getPerson(int id)throws SQLException;

    public void addPerson(Person person) throws SQLException;

    public void updatePerson(int id, Person person) throws SQLException;

    public void deletePerson(int id) throws SQLException;
}
